class $Convert {
  static int? intFromString(String? string, {int? defaultValue}) {
    if (string == null) {
      return defaultValue;
    }
    return int.parse(string);
  }
}
